<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

<body>
	<h1>Commentlists:</h1>	
	<p>Alle comments:</p>
	 <c:forEach var="comment" items="${comments}">
        <tr>
          <td><p>Post ID: ${comment.id}</p></td>
          <td><p>Post ID: ${comment.message}</p></td>
          <td><p>Post ID: ${comment.to}</p></td>
        </tr>
      </c:forEach>
</body>
</html>